//
//  ChooseType.h
//  EasyToTesco2.0
//
//  Created by knew on 2017/6/8.
//  Copyright © 2017年 EasyToTesco. All rights reserved.
//

#import <UIKit/UIKit.h>

//代理
@protocol SelectChooseTypeViewDelegate <NSObject>


- (void)SelectChooseTypeViewCityStr:(NSString *)typeName;
- (void)SelectChooseTypeViewCancle;
@end

@interface ChooseType : UIView

@property (nonatomic, weak) id<SelectChooseTypeViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame WithDataArray:(NSArray *)chooseTypeArray;

/**
 * show
 */
- (void)showPickerView;
/**
 *  消失
 */
- (void)dismissPickerView;

@end
